package com.hsd.znsh.pojo.output;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsd.znsh.entity.Monitor;
import com.hsd.znsh.entity.SensorGroup;
import lombok.Data;

import java.util.Date;
import java.util.List;

/*
 * @auther: wangjiacai
 *
 * @create: 2018-04-23 16:16:40
 */
@Data
public class UserInfoVO {

    private Integer id;

    private String username;

    private String phone;

    private String email;

    private Integer userType;

    private String hIKUsername;

    private String hIKPassword;

    private Integer createUserId;

    private String createUsername;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createDateTime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateDateTime;

    private List<Monitor> monitors;

    private List<SensorGroup> sensorGroups;

    public String gethIKUsername() {
        return hIKUsername;
    }

    public void sethIKUsername(String hIKUsername) {
        this.hIKUsername = hIKUsername;
    }

    public String gethIKPassword() {
        return hIKPassword;
    }

    public void sethIKPassword(String hIKPassword) {
        this.hIKPassword = hIKPassword;
    }
}
